import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import {InfoProvider} from "../../providers/InfoProvider";

/**
 * Generated class for the SystemPage page.
 *
 * See http://ionicframework.com/docs/components/#navigation for more info
 * on Ionic pages and navigation.
 */
@IonicPage()
@Component({
  selector: 'page-system',
  templateUrl: 'system.html',
})
export class SystemPage {

  device_info: any;
  jpush_info: any;

  constructor(public navCtrl: NavController, public navParams: NavParams, private infoProvider: InfoProvider) {
    this.device_info = this.infoProvider.getDevice();
    this.jpush_info = this.infoProvider.getJPushInfo();
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad SystemPage');
  }

}
